package qc.module.qms.mapper;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import qc.module.qms.dto.station.maintenance.StationMaintenanceDto;
import qc.module.qms.entity.QmsStationMaintenance;

import java.util.List;

/**
 * QmsStationMaintenanceMapper
 *
 * @author QuCheng Tech
 * @since 2025/10/12
 */
@Mapper
public interface QmsStationMaintenanceMapper {
    QmsStationMaintenanceMapper MAPPER = Mappers.getMapper(QmsStationMaintenanceMapper.class);

    StationMaintenanceDto toDto(QmsStationMaintenance en);

    List<StationMaintenanceDto> toDtoList(List<QmsStationMaintenance> ens);
}
